<template>
	<view class="u-empty fs-28 ft999999 mx-2 rounded pb-5">
		<image src="/static/nodata.png" mode="aspectFill" style="width: 100px;height: 100px;"></image>
		<view class="mt-3">{{text || '暂无数据'}}</view>
	</view>
</template>

<script>
	export default {
		props: ['text']
	}
</script>

<style scoped lang="scss">
	.u-empty {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100%;
	}
</style>